From a7e25f2c73040bc9506816eb3dc42417b1fa1cda Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 2 Aug 2020 21:46:44 -0400 Subject: [PATCH] gtk-demo: Make search progress visible again Set a progress fraction, so that the pulsing progress in the search entry demo is actually visible. --- demos/gtk-demo/search_entry.c | 1 + 1 file changed, 1 insertion(+) diff --git a/demos/gtk-demo/search_entry.c b/demos/gtk-demo/search_entry.c index 8905e4359b..ff63a42fe6 100644 --- a/demos/gtk-demo/search_entry.c +++ b/demos/gtk-demo/search_entry.c @@ -54,6 +54,7 @@ finish_search (GtkButton *button) static gboolean start_search_feedback (gpointer data) { + gtk_entry_set_progress_fraction (GTK_ENTRY (data), 0.1); search_progress_id = g_timeout_add_full (G_PRIORITY_DEFAULT, 100, (GSourceFunc)search_progress, data, (GDestroyNotify)search_progress_done); -- 2.30.2